package com.work.tqyb.ui.activity;

import android.content.Intent;

import com.work.tqyb.base.BaseActivity;
import com.work.tqyb.databinding.ActivityMainBinding;

public class MainActivity extends BaseActivity {

    private ActivityMainBinding binding;

    @Override
    public void initData() {
        binding = ActivityMainBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());

    }

    @Override
    public void onViewClick() {
        binding.llWeather.setOnClickListener(v -> startActivity(new Intent(MainActivity.this, WeatherInfoActivity.class)));

        binding.llAir.setOnClickListener(v -> startActivity(new Intent(MainActivity.this, AirInfoActivity.class)));

    }

    @Override
    public void observe() {


    }
}
